home *** CD-ROM | disk | FTP | other *** search
/ Macwelt 1 / Macwelt DVD 1.toast / Software für Mac-OS X / Entwickler-Tools / netbeans / modules / ext / djava.jar / koala / dynamicjava / parser / ParserConstants.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-03-14  |  6.4 KB  |  125 lines

  1. package koala.dynamicjava.parser;
  2.  
  3. public interface ParserConstants {
  4.    int EOF = 0;
  5.    int SINGLE_LINE_COMMENT = 10;
  6.    int FORMAL_COMMENT = 11;
  7.    int MULTI_LINE_COMMENT = 12;
  8.    int ABSTRACT = 14;
  9.    int BOOLEAN = 15;
  10.    int BREAK = 16;
  11.    int BYTE = 17;
  12.    int CASE = 18;
  13.    int CATCH = 19;
  14.    int CHAR = 20;
  15.    int CLASS = 21;
  16.    int CONST = 22;
  17.    int CONTINUE = 23;
  18.    int _DEFAULT = 24;
  19.    // $FF: renamed from: DO int
  20.    int field_0 = 25;
  21.    int DOUBLE = 26;
  22.    int ELSE = 27;
  23.    int EXTENDS = 28;
  24.    int FALSE = 29;
  25.    int FINAL = 30;
  26.    int FINALLY = 31;
  27.    int FLOAT = 32;
  28.    int FOR = 33;
  29.    int GOTO = 34;
  30.    // $FF: renamed from: IF int
  31.    int field_1 = 35;
  32.    int IMPLEMENTS = 36;
  33.    int IMPORT = 37;
  34.    int INSTANCEOF = 38;
  35.    int INT = 39;
  36.    int INTERFACE = 40;
  37.    int LONG = 41;
  38.    int NATIVE = 42;
  39.    int NEW = 43;
  40.    int NULL = 44;
  41.    int PACKAGE = 45;
  42.    int PRIVATE = 46;
  43.    int PROTECTED = 47;
  44.    int PUBLIC = 48;
  45.    int RETURN = 49;
  46.    int SHORT = 50;
  47.    int STATIC = 51;
  48.    int SUPER = 52;
  49.    int SWITCH = 53;
  50.    int SYNCHRONIZED = 54;
  51.    int THIS = 55;
  52.    int THROW = 56;
  53.    int THROWS = 57;
  54.    int TRANSIENT = 58;
  55.    int TRUE = 59;
  56.    int TRY = 60;
  57.    int VOID = 61;
  58.    int VOLATILE = 62;
  59.    int WHILE = 63;
  60.    int INTEGER_LITERAL = 64;
  61.    int LONG_LITERAL = 65;
  62.    int DECIMAL_LITERAL = 66;
  63.    int HEX_LITERAL = 67;
  64.    int OCTAL_LITERAL = 68;
  65.    int FLOAT_LITERAL = 69;
  66.    int DOUBLE_LITERAL = 70;
  67.    int EXPONENT = 71;
  68.    int CHARACTER_LITERAL = 72;
  69.    int STRING_LITERAL = 73;
  70.    int IDENTIFIER = 74;
  71.    int LETTER = 75;
  72.    int DIGIT = 76;
  73.    int LPAREN = 77;
  74.    int RPAREN = 78;
  75.    int LBRACE = 79;
  76.    int RBRACE = 80;
  77.    int LBRACKET = 81;
  78.    int RBRACKET = 82;
  79.    int SEMICOLON = 83;
  80.    int COMMA = 84;
  81.    int DOT = 85;
  82.    int ASSIGN = 86;
  83.    int GREATER_THAN = 87;
  84.    int LESS = 88;
  85.    int BANG = 89;
  86.    int TILDE = 90;
  87.    int HOOK = 91;
  88.    int COLON = 92;
  89.    int EQUAL = 93;
  90.    int LESS_OR_EQUAL = 94;
  91.    int GREATER_OR_EQUAL = 95;
  92.    int NOT_EQUAL = 96;
  93.    int CONDITIONAL_OR = 97;
  94.    int CONDITIONAL_AND = 98;
  95.    int INCREMENT = 99;
  96.    int DECREMENT = 100;
  97.    int PLUS = 101;
  98.    int MINUS = 102;
  99.    int STAR = 103;
  100.    int SLASH = 104;
  101.    int BITWISE_AND = 105;
  102.    int BITWISE_OR = 106;
  103.    int XOR = 107;
  104.    int REMAINDER = 108;
  105.    int LEFT_SHIFT = 109;
  106.    int RIGHT_SIGNED_SHIFT = 110;
  107.    int RIGHT_UNSIGNED_SHIFT = 111;
  108.    int PLUS_ASSIGN = 112;
  109.    int MINUS_ASSIGN = 113;
  110.    int STAR_ASSIGN = 114;
  111.    int SLASH_ASSIGN = 115;
  112.    int AND_ASSIGN = 116;
  113.    int OR_ASSIGN = 117;
  114.    int XOR_ASSIGN = 118;
  115.    int REMAINDER_ASSIGN = 119;
  116.    int LEFT_SHIFT_ASSIGN = 120;
  117.    int RIGHT_SIGNED_SHIFT_ASSIGN = 121;
  118.    int RIGHT_UNSIGNED_SHIFTASSIGN = 122;
  119.    int DEFAULT = 0;
  120.    int IN_SINGLE_LINE_COMMENT = 1;
  121.    int IN_FORMAL_COMMENT = 2;
  122.    int IN_MULTI_LINE_COMMENT = 3;
  123.    String[] tokenImage = new String[]{"<EOF>", "\" \"", "\"\\t\"", "\"\\n\"", "\"\\r\"", "\"\\f\"", "\"//\"", "\"#\"", "<token of kind 8>", "\"/*\"", "<SINGLE_LINE_COMMENT>", "\"*/\"", "\"*/\"", "<token of kind 13>", "\"abstract\"", "\"boolean\"", "\"break\"", "\"byte\"", "\"case\"", "\"catch\"", "\"char\"", "\"class\"", "\"const\"", "\"continue\"", "\"default\"", "\"do\"", "\"double\"", "\"else\"", "\"extends\"", "\"false\"", "\"final\"", "\"finally\"", "\"float\"", "\"for\"", "\"goto\"", "\"if\"", "\"implements\"", "\"import\"", "\"instanceof\"", "\"int\"", "\"interface\"", "\"long\"", "\"native\"", "\"new\"", "\"null\"", "\"package\"", "\"private\"", "\"protected\"", "\"public\"", "\"return\"", "\"short\"", "\"static\"", "\"super\"", "\"switch\"", "\"synchronized\"", "\"this\"", "\"throw\"", "\"throws\"", "\"transient\"", "\"true\"", "\"try\"", "\"void\"", "\"volatile\"", "\"while\"", "<INTEGER_LITERAL>", "<LONG_LITERAL>", "<DECIMAL_LITERAL>", "<HEX_LITERAL>", "<OCTAL_LITERAL>", "<FLOAT_LITERAL>", "<DOUBLE_LITERAL>", "<EXPONENT>", "<CHARACTER_LITERAL>", "<STRING_LITERAL>", "<IDENTIFIER>", "<LETTER>", "<DIGIT>", "\"(\"", "\")\"", "\"{\"", "\"}\"", "\"[\"", "\"]\"", "\";\"", "\",\"", "\".\"", "\"=\"", "\">\"", "\"<\"", "\"!\"", "\"~\"", "\"?\"", "\":\"", "\"==\"", "\"<=\"", "\">=\"", "\"!=\"", "\"||\"", "\"&&\"", "\"++\"", "\"--\"", "\"+\"", "\"-\"", "\"*\"", "\"/\"", "\"&\"", "\"|\"", "\"^\"", "\"%\"", "\"<<\"", "\">>\"", "\">>>\"", "\"+=\"", "\"-=\"", "\"*=\"", "\"/=\"", "\"&=\"", "\"|=\"", "\"^=\"", "\"%=\"", "\"<<=\"", "\">>=\"", "\">>>=\""};
  124. }
  125.